//
//  LPChooseYearAndMonthAndDayAndHourAndMinuteView.h
//  ShangHaiHuDongApp
//
//  Created by 刘应平 on 2017/6/22.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LPChooseYearAndMonthAndDayAndHourAndMinuteDelegate <NSObject>

- (void)ChooseYearAndMonthAndDayAndHourAndMinuteWithTitle:(NSString * )string;

@end
@interface LPChooseYearAndMonthAndDayAndHourAndMinuteView : UIView
/** 1.最小的年份，default is 1900 */
@property (nonatomic, assign)NSInteger yearLeast;

@property (nonatomic, assign)NSInteger monthLeast;

@property (nonatomic, assign)NSInteger dayLeast;

@property (nonatomic, assign)NSInteger hourLeast;

@property (nonatomic, assign)NSInteger mintueLeast;
/** 2.显示年份数量，default is 200 */
@property (nonatomic, assign)NSInteger yearSum;
/** 3.中间选择框的高度，default is 28*/
@property (nonatomic, assign)CGFloat heightPickerComponent;
/**  代理  */
@property(nonatomic,assign)id<LPChooseYearAndMonthAndDayAndHourAndMinuteDelegate>delegate;
/**  显示  */
-(void)show:(NSString *)time;
/**  隐藏  */
-(void)hiden;
-(void)setUI:(NSString *)time;

-(void)showCurrentTime;
@end
